/**
 * 
 */
package com.vision.core.cm.serv.rpc;

import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.vision.core.cl.Services;
import com.vision.core.cm.db.data.Company;

/**
 * @author Mark
 *
 */
public interface CompanyServiceAsync extends AbstractServiceAsync<Company> {
	
	public static final CompanyServiceAsync INSTANCE = Services.create(GWT.create(CompanyService.class));

	// Add other methods here not declared in AbstractServiceAsync
	
	void activate(Company company, AsyncCallback<Company> callback);
	
	void deactivate(Company company, AsyncCallback<Company> callback);

	void getNameAndIdOnly(AsyncCallback<List<Company>> callback);
}
